package org.com.yz.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import org.com.yz.dal.dao.mapper.ProblemRecordMapper;
import org.com.yz.dal.dao.model.ProblemRecord;
import org.com.yz.dubbo.api.service.IProblemRecordService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 * 问题键记录表 服务实现类
 * </p>
 *
 * @author fanjj123
 * @since 2018-10-23
 */
@Service(version = "1.0.0")
public class ProblemRecordServiceImpl implements IProblemRecordService {

    @Autowired
    private ProblemRecordMapper problemRecordMapper;

    @Override
    public int insertProblemRecord(ProblemRecord problemRecord) {
        return problemRecordMapper.insert(problemRecord);
    }
}
